package com.ambimmort.shj.action.generalfile;

import com.ambimmort.shj.service.generalfile.ReadApp2UIService;
import com.ambimmort.shj.service.generalfile.ReadWeb2UISeivice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by 师梁 on 2015/7/30.
 */
@RequestMapping("/action/common/get_app.do")
public class ReadApp2UI {
    @Autowired
    private ReadApp2UIService readApp2UIService;
    @RequestMapping("/action/common/get_app.do")
    @ResponseBody
    public String  get_web(
            HttpServletRequest request, @RequestParam("pageCount") String pageCount, @RequestParam("page") String page, @RequestParam("MessageType") String MessageType,
            @RequestParam("policy_instance") String policy_instance, @RequestParam("iDisplayStart") String iDisplayStart, @RequestParam("iDisplayLength") String iDisplayLength
    ){

        return  readApp2UIService.read(pageCount,page,MessageType,policy_instance,iDisplayStart,iDisplayLength);

    }
}
